function add () {
    layer.open({
        type: 2,
        skin: 'demo-class',
        title: '详情页面',
        fix: true,
        shadeClose: true,
        area: ['1000px', '500px']
        //  content: 'tail_sm.html'
    })
    console.log(11)    
}

add()

// export { add }